// 简历数据类型定义

export interface ContactInfo {
  email: string;
  phone: string;
  location: string;
  website: string;
  github?: string;
  linkedin?: string;
}

export interface PersonalInfo {
  name: string;
  title: string;
  avatar?: string;
  summary: string;
  contact: ContactInfo;
}

export interface Skill {
  name: string;
  level: number;
}

export interface SkillCategory {
  category: string;
  items: Skill[];
}

export interface Experience {
  id: string;
  company: string;
  position: string;
  duration: string;
  location: string;
  responsibilities: string[];
}

export interface Project {
  id?: string;
  name: string;
  description: string;
  duration: string;
  role: string;
  technologies: string[];
  achievements?: string[];
  url?: string;
}

export interface Education {
  id: string;
  school: string;
  degree: string;
  level: string;
  duration?: string;
  startDate?: string;
  endDate?: string;
  location?: string;
  gpa?: string;
  achievements?: string[];
}

export interface ResumeData {
  personalInfo: PersonalInfo;
  education: Education[];
  experience: Experience[];
  skills: SkillCategory[];
  projects: Project[];
}

